// 自动生成模板BillList
package model

import (
	"gin-vue-admin/global"
)

// 如果含有time.Time 请自行import time包
type BillList struct {
      global.GVA_MODEL
      BillId  int `json:"billId" form:"billId" gorm:"column:bill_id;comment:账单ID;type:bigint;size:19;"`
      BillUseFor  string `json:"billUseFor" form:"billUseFor" gorm:"column:bill_use_for;comment:用途;type:varchar(90);size:90;"`
      BillRelateGoodsOrderId  int `json:"billRelateGoodsOrderId" form:"billRelateGoodsOrderId" gorm:"column:bill_relate_goods_order_id;comment:关联进货单ID"`
      BillRelateGoodsOrder  string `json:"billRelateGoodsOrder" form:"billRelateGoodsOrder" gorm:"column:bill_relate_goods_order;comment:关联进货单名称;type:varchar(225);size:225;"`
      BillOperator  string `json:"billOperator" form:"billOperator" gorm:"column:bill_operator;comment:操作人;type:varchar(512);size:512;"`
      BillConfirm  string `json:"billConfirm" form:"billConfirm" gorm:"column:bill_confirm;comment:确认人;type:varchar(512);size:512;"`
      BillAmount  float64 `json:"billAmount" form:"billAmount" gorm:"column:bill_amount;comment:交易金额;type:double;size:22;"`
      BillRemarks  string `json:"billRemarks" form:"billRemarks" gorm:"column:bill_remarks;comment:备注信息"`
}


func (BillList) TableName() string {
  return "bill_list"
}

const BillIdPrefix = 50000